package com.michau.testitas.common.service;

import com.michau.testitas.common.model.user.User;

import java.util.Set;

/**
 * User: michau
 * Date: 4/7/13
 * Time: 7:30 PM
 */
public interface UserService {

    public User getById(long id);

    public User getByTransferKey(String transferKey);

    public Set<User> getAll();

    public User create(User User);

    public void createOrUpdate(User User);

    public void copy(User fromUser, User toUser);

    public void update(User User);

    public void delete(User... User);

    public void deleteAll();
    
}
